package j04zuoye;

public class J01SwitchNum {
    public static void main(String[] args) {
        int a = 3;
        int b = 5;

//        a = a + b;
//        // a
//        b = a - b;
//        a = a - b;
//        System.out.println("a = " + a);
//        System.out.println("b = " + b);

        int sum = a + b;
        b = sum - b;//a
        a = sum - b;//b
        System.out.println("a = " + a);
        System.out.println("b = " + b);


    }
}
